div {
	/* border: 1PX solid black; */
}

body {
	margin: 0;
	padding: 0;
}

.body {
	width: 100%;
	margin: 0 auto;
}

.container {
	display: flex;
}

.container>.left {
	flex: 4;
	background-color: rgb(51, 51, 51);
	display: flex;
	flex-direction: column;

}

.container>.right {
	flex: 1;
	background-color: rgb(40, 40, 40);
}

.video {
	text-align: center;
}

#video {
	width: 95%;
	height: 600px;
	margin-bottom: 10px;
}

#back {
	cursor: pointer;
}

/* 弹幕幕布 */
#cvs {
	position: absolute;
	width: 75%;
	left: 100px;
	top: 100px;
	z-index: 1;
}

/* 弹幕按钮 */
#danmu {
	display: flex;
	width: 80%;
	margin: 0 auto;
	justify-content: space-around;
}

#danmu>input {
	outline: none;
	width: 400px;
	border-radius: 5px;
	background-color: rgb(160, 162, 168);
	border: none;
}

#danmu>button {
	background-color: rgb(255, 205, 0);
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	margin-left: 5px;
}

#danmu {
	border: none;
	margin-top: 10px;
	margin-bottom: 30px;
}

#danmu>div {
	color: white;
	font-size: 12px;
	flex: 1;
	text-align: center;
}

#danmu>div>select {
	outline: none;
}

.title {

	height: 80px;
	display: flex;
	flex-direction: column;
}

.title>span {
	margin: 0 auto;
	color: white;
	font-size: 18px;

}

.title>div {
	margin-top: 10px;
}

.title>div>span {
	color: white;
	padding-left: 10px;
	padding-right: 10px;
	background-color: rgb(255, 255, 255, 0.5);
	border-radius: 3px;
	margin-left: 10px;
}

.left_container {
	display: flex;
	flex-direction: column;
}

.left_container>.h {
	display: flex;
	width: 80%;
	margin: 0 auto;
	align-items: center;
}

.left_container>.h>span {
	color: white;
	font-size: 12px;
}

.left_container>.button>button {
	background-color: rgb(51, 51, 51);
	border: none;
}

.left_container>.button {
	width: 80%;
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
}

.left_container>.button>button>img {
	width: 18px;
	height: 18px;
}




/* 进度条样式 */
input[type=range] {
	-webkit-appearance: none;
	width: 90%;
	border-radius: 5px;
	/*这个属性设置使填充进度条时的图形为圆角*/
	height: 2px;
}

input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
}

input[type=range]::-webkit-slider-runnable-track {
	height: 5px;
	border-radius: 2px;
	/*将轨道设为圆角的*/
	box-shadow: 0px 0px 1px;
	/*轨道内置阴影效果*/
}

input[type=range]:focus {
	outline: none;
	cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 10px;
	width: 10px;
	margin-top: -2px;
	/*使滑块超出轨道部分的偏移量相等*/
	background: rgb(255, 205, 0);
	border-radius: 50%;
	/*外观设置为圆形*/
	border: solid 0.125em rgba(255, 205, 0, 0.5);
	/*设置边框*/
	cursor: pointer;
}

.rigth {
	width: 200px;
}

.course_title {
	color: white;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 20px;
}

.course_teach {
	color: white;
	font-size: 14px;

}

.course_ht {
	color: white;
	font-size: 14px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.right_bottom_top {
	color: white;
	display: flex;
	justify-content: space-around;
	background-color: rgb(56, 56, 56);
}

.right_bottom_top>span {
	padding-top: 10px;
	padding-bottom: 2px;
	margin-bottom: 10px;
	cursor: pointer;
}

.course_brief>div {
	color: rgb(160, 162, 168);
	padding: 20px;
	line-height: 30px;
	font-size: 14px;
}

/* 聊天框 */
.chatbox {
	width: 80%;
	height: 500px;
	margin-left: 10%;
	margin-top: 20px;
	background-color: white;
	overflow-y: scroll;
	/* 滚动条 */
	border-radius: 5px;
	box-shadow: 5px 5px 5px 9px gray;
}
/* 滚动条样式 */
.chatbox::-webkit-scrollbar {
	/*滚动条整体样式*/
	width: 8px;
}

.chatbox::-webkit-scrollbar-thumb {
	/*滚动条里面小方块*/
	border-radius: 5px;
	-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	background: rgba(0, 0, 0, 0.2);
	scrollbar-arrow-color: red;
}

.chatbox::-webkit-scrollbar-track {
	/*滚动条里面轨道*/
	-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	border-radius: 0;
	background: rgba(0, 0, 0, 0.1);
}

.shuru_fasong {
	margin-top: 20px;
	text-align: center;
}

#chat>div>label {
	display: inline-block;
	padding: 5px;
	margin: 5px;
	color: rgb(183, 183, 183);
	font-size: 16px;
}

#chat>div>span {
	background-color: rgb(183, 183, 183);
	padding: 5px;
	margin: 5px;
	border-radius: 5px;
	font-size: 14px;
}

#input {
	outline: none;
	width: 200px;
	height: 30px;
	border-radius: 5px;
	margin-top: 10px;
	border: none;
}

#fasong {
	border: none;
	border-radius: 3px;
	width: 50px;
	height: 30px;
	color: white;
	background-color: rgb(255, 205, 0);
	transition: all 0.8s;
}

#fasong:hover {
	transform: scale(1.1);
	cursor: pointer;
}
